package com.shareyi.simpleserver.servlet;

import java.io.IOException;

import com.shareyi.simpleserver.core.HttpRequest;
import com.shareyi.simpleserver.core.HttpResponse;

public abstract class Filter {
	
	  public abstract void init(FilterConfig filterConfig)
			  throws ServletException;

	  public abstract void doFilter(HttpRequest httpRequest,HttpResponse httpResponse, FilterChain filterChain)
	    throws IOException, ServletException;

	  public abstract void destroy();
}
